package com.zwf.types.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ResponseCode {

    SUCCESS("0000", "成功"),
    UN_ERROR("0001", "未知失败"),
    ILLEGAL_PARAMETER("0002", "非法参数"),
    STRATEGY_RULE_WEIGHT_IS_NULL("ERR_BIZ_001","业务异常，策略规则中 rule_weight 权重规则已使用但未配置"),
    AWARD_ID_IS_NOLL ("ERR_BIZ_002","业务异常，没有找到奖品id"),
    RATE_RANGE_IS_NOLL ("ERR_BIZ_003","业务异常，没有找到概率范围"),
    STRATEGY_AWARD_LIST_IS_NULL ("ERR_BIZ_004","业务异常，根据策略id查询的策略奖品表数据为空"),
    STRATEGY_ENTITY_IS_NOLL ("ERR_BIZ_005","业务异常，根据策略id查询的策略实体为空"),
    STRATEGY_RULE_VALUE_IS_NULL("ERR_BIZ_006","业务异常，未查询到对应的规则值"),
    ;

    private String code;
    private String info;

}
